<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE html>
<html>
<head>
<title>项目详细</title>
<link href="/css/css.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="/jquery/jquery-1.10.2.min.js"></script>

<script type="text/javascript" src="/controls/fresco/js/fresco/fresco.js"></script>
<link rel="stylesheet" type="text/css" href="/controls/fresco/css/fresco/fresco.css" />
</head>
<style>
.sz_entry_con_1 i {
	font-style: normal;
	position: absolute;
	left: 125px;
	top: 5px;
}
</style>
<body>
	<iframe src="/top.html" scrolling="no" frameborder="0"></iframe>
	<div class="sz_box">
		<div class="sz_content">
			<!-------录入页------>
			<div class="sz_entry">
				<div class="sz_entry_top">
					<h1>项目详细</h1>
					<div class="sz_entry_top_1">
						<ul>
							<li class="sz_entry_top_1_zx"><a href="javascript:void()" id="firstCategory"> <s:property
										value="project.firstCategoryName" />
							</a></li>
							<s:if test="project.secondCategoryName.length() > 0">
								<b> > </b>
								<li class="sz_entry_top_1_zx"><a href="javascript:void()" id="secondCategory">
										<s:property value="project.secondCategoryName" />
								</a></li>
							</s:if>
							<s:if test="project.thirdCategoryName.length() > 0">
								<b> > </b>
								<li class="sz_entry_top_1_zx"><a href="javascript:void()" id="secondCategory">
										<s:property value="project.thirdCategoryName" />
								</a></li>
							</s:if>
						</ul>
					</div>
				</div>
				<div class="sz_entry_con">
					<h2>录入信息</h2>
					<div class="sz_entry_con_1">
						<p>
							<span>项目名称</span><strong><s:property value="project.name" /></strong>
						</p>
						<s:if test="project.commentList != null">
							<p>
								<span>领导批注</span><strong><font color="blue"><s:iterator
											value="project.commentList">
											<s:property value="userName" />：<s:property value="content" />（<s:property
												value="updateTime.substring(0,19)" />）
										<br>
										</s:iterator></font></strong>
							</p>
						</s:if>
						<p>
							<span>实施时间</span><strong><s:property value="project.impl_time" /></strong>
						</p>
						<p>
							<span>总投资</span><strong><s:property value="project.fund" />(单位：亿元)</strong>
						</p>
						<p>
							<span>主管部门</span><strong><s:property value="project.mgr_depart" /></strong>
						</p>
						<p>
							<span>建设主体</span><strong><s:property value="project.build_side" /></strong>
						</p>
						<p>
							<span>项目状态</span><strong><s:property value="project.plan" /></strong>
						</p>
						<p>
							<span>项目地点</span><strong><s:property value="project.area" /></strong>
						</p>
						<p>
							<span>资金来源</span><strong><s:property value="project.fund_plan" />(单位：亿元)</strong>
						</p>
						<p>
							<span>项目概况</span><strong><s:property value="project.description" /></strong>
						</p>
						<p>
							<span>备注</span><strong><s:property value="project.sign" /></strong>
						</p>
						<p>
							<span>形象进度及完成投资情况</span><strong><s:property value="project.remarks" /></strong>
						</p>
						<p>
							<span>项目方案设计图</span> <strong class="imageClass"> <s:iterator
									value="project.imgList">
									<a href='<s:property value="imgSrc"/>' class='fresco' data-fresco-group='imgList'
										data-fresco-caption="<s:property value="imgName"/>"> <img
										src="<s:property value="imgSrc"/>" />
									</a>
								</s:iterator>
							</strong>
							<s:if test="project.imgList.size()>0">
								<div class="viewLarger">(点击图片查看大图)</div>
							</s:if>
							<s:else>
								<i>暂无</i>
							</s:else>
						</p>
						<p>
							<span>相关批件</span> <strong class="imageClass"> <s:iterator
									value="project.approvalList">
									<a href='<s:property value="approvalSrc"/>' class='fresco'
										data-fresco-group='approvalList'
										data-fresco-caption="<s:property value="approvalName"/>"> <img
										src="<s:property value="approvalSrc"/>" />
									</a>
								</s:iterator>
							</strong>
							<s:if test="project.approvalList.size()>0">
								<div class="viewLarger">(点击图片查看大图)</div>
							</s:if>
							<s:else>
								<i>暂无</i>
							</s:else>
						</p>
						<p>
							<span>部门意见</span> <strong class="imageClass"> <s:iterator
									value="project.checkList">
									<a href='<s:property value="checkSrc"/>' class='fresco' data-fresco-group='checkList'
										data-fresco-caption="<s:property value="checkName"/>"> <img
										src="<s:property value="checkSrc"/>" />
									</a>
								</s:iterator>
							</strong>
							<s:if test="project.checkList.size()>0">
								<div class="viewLarger">(点击图片查看大图)</div>
							</s:if>
							<s:else>
								<i>暂无</i>
							</s:else>
						</p>
						<p class="project_class">
							<span>上传三表</span>
							<%
								int tableNum = 0;
							%>
							<s:iterator value="project.tableList">
								<%
									tableNum += 1;
								%>
								<%
									if (tableNum != 1) {
								%>
								<p class="project_class">
									<span></span>
									<%
										}
									%>
									<strong><s:property value='tableName' /></strong> <a class="btn_nr"
										href="/app/project!jumpDocumentBrowsing?srcId=<s:property value='id' />&srcType=3"
										target="_blank">浏览</a> <a class="btn_nr"
										href="/app/project!jumpDownloadDocument?srcId=<s:property value='id' />&srcType=3"
										target="_blank">下载</a>
							</s:iterator>
							<%
								if (tableNum == 0) {
							%>
							<i>暂无</i>
							<%
								}
							%>
						</p>
						<p class="project_class">
							<span>项目内容说明书</span>
							<%
								int docNum = 0;
							%>
							<s:iterator value="project.docList">
								<%
									docNum += 1;
								%>
								<%
									if (docNum != 1) {
								%>
								<p class="project_class">
									<span></span>
									<%
										}
									%>
									<strong><s:property value='docName' /></strong> <a class="btn_nr"
										href="/app/project!jumpDocumentBrowsing?srcId=<s:property value='id' />&srcType=1"
										target="_blank">浏览</a> <a class="btn_nr"
										href="/app/project!jumpDownloadDocument?srcId=<s:property value='id' />&srcType=1"
										target="_blank">下载</a>
							</s:iterator>
							<%
								if (docNum == 0) {
							%>
							<i>暂无</i>
							<%
								}
							%>
						</p>
						<p class="project_class">
							<span>项目视频</span>
							<%
								int videoNum = 0;
							%>
							<s:iterator value="project.videoList">
								<%
									videoNum += 1;
								%>
								<%
									if (videoNum != 1) {
								%>
								<p class="project_class">
									<span></span>
									<%
										}
									%>
									<strong><s:property value='videoName' /></strong> <a class="btn_nr"
										href="<s:property value='videoSrc' />" target="_blank">浏览</a>
							</s:iterator>
							<%
								if (videoNum == 0) {
							%>
							<i>暂无</i>
							<%
								}
							%>
						</p>
						<p class="project_class">
							<span>其他文件</span>
							<%
								int otherNum = 0;
							%>
							<s:iterator value="project.otherList">
								<%
									if (otherNum != 0) {
								%>
								<p class="project_class">
									<span></span>
									<%
										}
									%>

									<s:if test="type==1">
										<a href='<s:property value="otherSrc"/>' class='fresco' data-fresco-group='otherList'
											data-fresco-caption="<s:property value="otherName"/>"> <img
											src="<s:property value="otherSrc"/>" />
										</a>
									</s:if>
									<s:else>
										<strong><s:property value='otherName' /></strong>
										<a class="btn_nr"
											href="/app/project!jumpDownloadDocument?srcId=<s:property value='id' />&srcType=7"
											target="_blank">下载</a>
									</s:else>

									<%
										otherNum += 1;
									%>
								
							</s:iterator>
							<%
								if (otherNum == 0) {
							%>
							<i>暂无</i>
							<%
								}
							%>
						</p>
						<p>
							<a class="btn" href="javascript:window.close()">关闭</a>
						</p>
					</div>
				</div>
			</div>
			<!-------录入页------>
		</div>
	</div>
	<iframe src="/footer.html" class="footer_con_ye" scrolling="no" frameborder="0"></iframe>
</body>
</html>